package com.example.vo;

import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 1. @ClassDescription:
 * 2. @author: Z
 * 3. @date: 2024年05月13日 17:29
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class InventoryVO implements Serializable {

    //库存id
    private Long id;
    //商品id
    private Integer productId;
    //商品名称
    private String name;
    //商品分类id
    private Long categoryId;
    //商品价格
    private BigDecimal price;
    //图片
    private String image;
    //描述信息
    private String description;
    //0 停售 1 起售
    private Integer status;
//    //更新时间
//    private LocalDateTime updateTime;
    //分类名称
//    private String categoryName;
    //保质期
    private Integer shelfLife;
    //生产日期
    private LocalDateTime dateOfManufacture;
    //商品数量
    private Integer productNum;
}
